#include "NeuronType.hh"

IzhikevichNeuronType::IzhikevichNeuronType(std::string name, int num_params, float* params) 
{
  type_ = "Izhikevich";

  name_ = name;
  num_params_ = num_params;

  params_ = new float[num_params];
  for(int i = 0; i < num_params; i++)
    params_[i] = params[i];
}

IzhikevichNeuronType::~IzhikevichNeuronType(void)
{
  delete params_;
}
